/**
  ******************************************************************************
  * @file           : main.h
  * @brief          : Header for main.c file.
  *                   This file contains the common defines of the application.
  ******************************************************************************
  */

/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "xl32f003xx_ll_Start_Kit.h"

/* Includes ------------------------------------------------------------------*/   
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <string.h>

#include "usart.h"    
#include "iic.h"  
#include "time.h"
#include "iwdg.h"
#include "tm1650.h"
#include "password_key.h"

#if defined(USE_FULL_ASSERT)
#include "xl32_assert.h"
#endif /* USE_FULL_ASSERT */

/* Private includes ----------------------------------------------------------*/
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);
void APP_UsartIRQCallback(USART_TypeDef *USARTx);
void APP_DmaChannel1IRQCallback(void);
void APP_DmaChannel2_3_IRQCallback(void);

void Beep_time_event(void);
void Beep_task(void);
void Beep_time_set(uint8_t time,uint8_t cnt);
uint8_t Beep_time_get(void);
/* Private defines -----------------------------------------------------------*/

#ifdef __cplusplus
}
#endif

#endif /* __MAIN_H */

/************************ (C) COPYRIGHT Xinling *****END OF FILE****/
